package com.example.jdcompetition.Service.cvsPro.items;

import com.example.jdcompetition.Service.cvsPro.time.TransitTime;

/**
 * @author henrydai
 * @date 2021/6/7 10:26
 */
public class Transit {
    //始发地址
    public String originateAddress;
    //目的地址
    public String destinationAddress;
    public TransitTime transitTime;

    @Override
    public String toString() {
        return "Transit{" +
                "originateAddress='" + originateAddress + '\'' +
                ", destinationAddress='" + destinationAddress + '\'' +
                ", transitTime=" + transitTime +
                '}';
    }

    public Transit(String originateAddress, String destinationAddress, TransitTime transitTime)
    {
        this.destinationAddress = destinationAddress;
        this.originateAddress = originateAddress;
        this.transitTime = transitTime;
    }
}
